package com.iflytek.exam.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.iflytek.common.annotation.Excel;
import com.iflytek.common.core.domain.BaseEntity;

/**
 * 单选题添加对象 tb_choice
 * 
 * @author Dogdog
 * @date 2024-07-07
 */
public class Choice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 题目id */
    private Long id;

    /** 所属题库id */
    private Long quBankId;

    /** 题目名称 */
    @Excel(name = "题目名称")
    private String title;

    /** 1，一级分类（所属科目） */
    private String categoryFirst;

    /** 二级分类,2 */
    private String categorySecond;

    /** 三级分类,3 */
    private String categoryThrid;

    /** 题目类型（1单选，2多选） */
    @Excel(name = "题目类型", readConverterExp = "1=单选，2多选")
    private Integer type;

    /** 难度(1简单，2稍难,3较难，4难，5困难) */
    @Excel(name = "难度(1简单，2稍难,3较难，4难，5困难)")
    private Integer degree;

    /** 题目答案（分单选和多选,多选使用逗号隔开） */
    private String answer;

    /** 答案解析 */
    private String answerAnalysis;

    /** 答案解析图片 */
    private String analysisImg;

    /** A选项 */
    private String optionA;

    /** B选项 */
    private String optionB;

    /** C选项 */
    private String optionC;

    /** D选项 */
    private String optionD;

    /** E选项 */
    private String optionE;

    /** F选项 */
    private String optionF;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setQuBankId(Long quBankId) 
    {
        this.quBankId = quBankId;
    }

    public Long getQuBankId() 
    {
        return quBankId;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }

    public String getCategoryFirst() {
        return categoryFirst;
    }

    public void setCategoryFirst(String categoryFirst) {
        this.categoryFirst = categoryFirst;
    }

    public String getCategorySecond() {
        return categorySecond;
    }

    public void setCategorySecond(String categorySecond) {
        this.categorySecond = categorySecond;
    }

    public String getCategoryThrid() {
        return categoryThrid;
    }

    public void setCategoryThrid(String categoryThrid) {
        this.categoryThrid = categoryThrid;
    }

    public void setType(Integer type)
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }
    public void setDegree(Integer degree) 
    {
        this.degree = degree;
    }

    public Integer getDegree() 
    {
        return degree;
    }
    public void setAnswer(String answer) 
    {
        this.answer = answer;
    }

    public String getAnswer() 
    {
        return answer;
    }
    public void setAnswerAnalysis(String answerAnalysis) 
    {
        this.answerAnalysis = answerAnalysis;
    }

    public String getAnswerAnalysis() 
    {
        return answerAnalysis;
    }
    public void setAnalysisImg(String analysisImg) 
    {
        this.analysisImg = analysisImg;
    }

    public String getAnalysisImg() 
    {
        return analysisImg;
    }
    public void setOptionA(String optionA) 
    {
        this.optionA = optionA;
    }

    public String getOptionA() 
    {
        return optionA;
    }
    public void setOptionB(String optionB) 
    {
        this.optionB = optionB;
    }

    public String getOptionB() 
    {
        return optionB;
    }
    public void setOptionC(String optionC) 
    {
        this.optionC = optionC;
    }

    public String getOptionC() 
    {
        return optionC;
    }
    public void setOptionD(String optionD) 
    {
        this.optionD = optionD;
    }

    public String getOptionD() 
    {
        return optionD;
    }
    public void setOptionE(String optionE) 
    {
        this.optionE = optionE;
    }

    public String getOptionE() 
    {
        return optionE;
    }
    public void setOptionF(String optionF) 
    {
        this.optionF = optionF;
    }

    public String getOptionF() 
    {
        return optionF;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("quBankId", getQuBankId())
            .append("title", getTitle())
            .append("categoryFirst", getCategoryFirst())
            .append("categorySecond", getCategorySecond())
            .append("categoryThrid", getCategoryThrid())
            .append("type", getType())
            .append("degree", getDegree())
            .append("answer", getAnswer())
            .append("answerAnalysis", getAnswerAnalysis())
            .append("analysisImg", getAnalysisImg())
            .append("optionA", getOptionA())
            .append("optionB", getOptionB())
            .append("optionC", getOptionC())
            .append("optionD", getOptionD())
            .append("optionE", getOptionE())
            .append("optionF", getOptionF())
            .toString();
    }
}
